package active

import (
	"github.com/hwcer/cosgo/registry"
	"github.com/hwcer/yyds/context"
)

func init() {
	Register(&basics{})
}

type basics struct{}

func (this *basics) Caller(node *registry.Node, handle *context.Context) interface{} {
	f := node.Method().(func(*basics, *context.Context) interface{})
	return f(this, handle)
}

/**
 * @name submit
 * @param string id 活动ID
 * @param int ik 奖励编号
 * @param int num 兑换次数
 * 兑换奖励
 */

func (this *basics) Submit(c *context.Context) interface{} {
	return true
}
